import { createSSRApp } from "vue";
import { createPinia } from "pinia";
import App from "./App.vue";
import router from "./router/index"; // 引入路由

export default () => {
  const app = createSSRApp(App);
  app.use(createPinia());
  app.use(router); // 使用路由
  return { app, router };
};
